home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 19 / Night Owl (The Best of Shareware)(NOPV 19)(1996).ISO / 007a / cbk_612p.zip / MENU-CTL.SMP < prev    next >
Text File  |  1995-12-15  |  9KB  |  174 lines

  1. % Updated by INSTALL v3.00 on 08-10-95.
  2. %
  3. %          ----------------------------------------------------
  4. %          MENUS.CTL -- The menus control file for Maximus-CBCS
  5. %          ----------------------------------------------------
  6. %
  7. % This file controls all of the aspects of Max's menus, including
  8. % the actions performed by each option, the overall menu structure,
  9. % and the appearance of each menu.
  10. %
  11. % Each menu definition is started by a "Menu" keyword.  Immediately after
  12. % the word "Menu" should be the filename to use for that menu file.  The
  13. % .MNU extension will be added automatically.
  14. %
  15. % The only two menu names that Maximus requires are "MAIN" and "EDIT".
  16. % The MAIN menu is called as soon as a user has logged on, and the
  17. % EDIT menu is called whenever the user enters the BORED message editor.
  18. % Other than those two, you are completely free to name your menus as
  19. % you wish.  Since you define the links between menus, the names you
  20. % use for your other menus is of no consequence.
  21. %
  22. % Also, you are completely free to put as many items on as many menus
  23. % as you want, although it is recommended that you keep the general menu
  24. % structure the same.  You can have up to a maximum of 127 separate menu
  25. % options on each individual menu.
  26.  
  27. Menu MAIN
  28.         %
  29.         % This option defines what the name of the menu will look like
  30.         % on-screen, to the user.  This doesn't necessarily have to be
  31.         % the same name as you specified above.
  32.  
  33.         Title           MAIN (%t mins)
  34.  
  35.         % This next option defines a customized *.BBS file to display
  36.         % _instead_ of the canned, Max-generated menu.  The file you
  37.         % specify will be shown to callers who enter this menu whenever
  38.         % the menu options would normally be displayed.  If no
  39.         % file is given, Max will generate the menu on its own.
  40.         %
  41.         % This file can contain any of the special MECCA tokens that
  42.         % you can use in a normal .MEC file.
  43.         %
  44.         % If you specify a MenuFile, it will be enabled for all help
  45.         % levels by default.  However, if you wish to enable the
  46.         % menu for certain help levels only (such as NOVICE and
  47.         % REGULAR), simply add the names of the levels after the
  48.         % filename.  For example, "MenuFile Misc\MenuMain Novice"
  49.         % would show the MenuFle to novice callers only, and
  50.         % the Max-generated menu would be shown to everyone else.
  51.         % See the Max TechRef manual for more information on this
  52.         % option.
  53.  
  54. %       MenuFile        Misc\MenuMain
  55.         MenuFile        Rip\Max_Main RIP
  56.  
  57.         % If you are using the customized .BBS MenuFile, then you must
  58.         % tell Maximus how many lines on your screen that your custom
  59.         % file takes.  If this value is not specified, or if it is incorrect,
  60.         % then you will have problems with messages being scrolled off the
  61.         % top of your screen because of your customized menufile.
  62.  
  63. %       MenuLength      14
  64.  
  65.         % This option is also only applicable if you're using a custom
  66.         % *.BBS menufile.  As expected, if a user presses a key in the
  67.         % middle of the menu with HOTFLASH turned on, the menu will abort
  68.         % it's display, and jump to the option selected.  However, if
  69.         % your *.BBS file has a coloured background, this operation may
  70.         % cause the background to bleed into the rest of the screen.  The
  71.         % solution is to specify an AVATAR colour number here, which will
  72.         % be displayed BEFORE printing the key the user selected.  Normally,
  73.         % this colour should have the background set to black, or whatever
  74.         % colour your screen normally is.  An index of the AVATAR colour
  75.         % codes (and their corresponding colours) can be found in the
  76.         % program documentation.
  77.  
  78. %       MenuColour      15
  79.  
  80.         % This section of the control file defines the available
  81.         % commands for this menu.
  82.  
  83.         % The name of the COMMAND to perform is in the left column.
  84.         % This tells Maximus what it should do when this option is
  85.         % selected.  Examples of commands are "Goodbye",
  86.         % "Display_File" and "Msg_Browse".
  87.         %
  88.         % Following the command is an optional argument; some
  89.         % commands need arguments, but others don't.  If the argument
  90.         % contains any spaces (such as would a DOS command line),
  91.         % then make sure to replace them with underscores, which will
  92.         % get translated back into spaces when the menu is read back
  93.         % in.  The only common commands which use arguments are
  94.         % Display_File, Display_Menu and MEX.
  95.         %
  96.         % After the argument is that command's access level.  This
  97.         % access level consists of a privilege level and an optional
  98.         % set of keys.  A user will only be able to select that
  99.         % option if his/her priv level is equal to or higher than the
  100.         % specified level.  In addition, if you wish to restrict a
  101.         % command to users which carry certain keys, simply place a
  102.         % slash and a list of key numbers/letters after the privilege
  103.         % level.  For example, to restrict a command so that only
  104.         % Normal-level users with keys 1 and C can access a command,
  105.         % use a priv level of "Normal/1C".
  106.         %
  107.         % Following the priv level is the command description.  This
  108.         % description will be used when creating NOVICE-level menus,
  109.         % and the first letter of that command will be used as the
  110.         % selection character, so make sure that each command has a
  111.         % unique first character.
  112.  
  113.         % Name of cmd    Optional arguments      Priv.   Command as it
  114.         % to execute     for cmd, if any         Level   appears to user
  115.         % ------------  --------------------- --------- -----------------
  116.  
  117.         Display_Menu    Message                 Demoted "Message areas"
  118.         Display_Menu    File                    Demoted "File areas"
  119.         Display_Menu    Change                  Demoted "Change setup"
  120.  
  121.         % The above three options tell Maximus to chain to a different
  122.         % *.Mnu file, whose name is specified as an argument.  Please
  123.         % make sure NOT to include a path before the name of your menu,
  124.         % since Maximus will add that according to the currently-defined
  125.         % menu path.
  126.  
  127.         Goodbye                               Transient "Goodbye (log off)"
  128.         MEX             M\Stats                 Demoted "Statistics"
  129.   NoDsp Press_Enter                             Demoted "S"
  130.         Userlist                                Demoted "UserList"
  131.         Version                                 Demoted "Version of BBS"
  132.  
  133.         Display_File    Misc\YellReq            Demoted "Yell for SysOp"
  134.   NoDsp Yell                                    Demoted "Y"
  135.  
  136. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  137. %  Add the Following to Implement CallBack Using the CALLBACK.BBS (MEC)       %
  138. %  file within this Maim Menu.  The Sample CALLBACK.MEC Supports RIP Graphics.%
  139. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  140.  
  141.         Display_File    CallBack\CallBack       Demoted "Registration"
  142.  
  143.         % The above options are fairly generic, and basically do what
  144.         % they appear to do.
  145.  
  146.         % When selected, this option displays a *.BBS file to the user.
  147.         % You can have as many of these custom files as you wish.
  148.  
  149.         Display_File    Misc\Bulletin           Demoted "Bulletins"
  150.  
  151.         % These commands display the off-line reader and SysOp menus.
  152.  
  153.         Display_Menu    Reader                  Demoted "Off-line reader"
  154.         Display_Menu    Sysop                     Sysop "#Sysop menu"
  155.         Display_Menu    MEX                       Sysop "$MEX Samples"
  156.  
  157.         % The next commands are only of use to multi-line systems.
  158.         % PLEASE SEE THE DOCUMENTATION BEFORE USING THESE
  159.         % COMMANDS!
  160.  
  161.         Who_Is_On                               Demoted "Who is On"
  162.   NoDsp Press_Enter                             Demoted "W"
  163.         Display_Menu    Chat                    Demoted "/Chat menu"
  164.  
  165.         % The following is the help file for the main menu.  Unless you
  166.         % specify a help file, such as done below, users will NOT be able
  167.         % to press `?' for help.
  168.  
  169.         Display_File    Hlp\Main                Demoted "?help"
  170.  
  171. End Menu
  172.  
  173.